import {get, getNotParam, getPath, post} from '@/util/request'

export const getVerifyCode = data => get(`/user/getVerifyCode`, data);

export const passwordLogin = data => post(`/user/passwordLogin`, data);

export const verifyCodeLogin = data => post(`/user/verifyCodeLogin`, data);

export const searchUser = data => post(`/user/searchUser`, data);

export const userInfo = data => getPath(`/user/userInfo/${data}`);